package com.wh1200.mybatis.xmlless.util

import org.apache.ibatis.builder.MapperBuilderAssistant

/**
 *
 * @author wuhao
 * @date 2024/1/26 10:54
 * @since v0.0.0
 * @version 1.0
 */

object BuilderAssistantHolder {

  private lateinit var assistant: MapperBuilderAssistant

  fun set(builderAssistant: MapperBuilderAssistant) {
    assistant = builderAssistant
  }

  fun get(): MapperBuilderAssistant {
    return assistant
  }

}
